package com.LCQ.crm.workbench.dao;

import com.LCQ.crm.workbench.domain.Activity;
import com.LCQ.crm.workbench.domain.Contacts;

import java.util.List;
import java.util.Map;

public interface ActivityDao {
    int insert(Activity activity);
    List<Map> selectPage(Map indexAndPageSize);
    Map getGlobal();
    int getCount();
    List<Activity> getPageList(Map map);
    List<Activity> getPageListByCondition(Map paraMap);
    int getPageListCountByCondition(Map paraMap);
    int delete(String[] ids);
    Activity getById(String id);
    int update(Activity activity);
    Activity getDetail(String id);

    int getCountByIds(String[] ids);

    List<Activity> getUnbindingActByCond(Map<String, String> map);

    List<Activity> getByClueAName(Map map);

    List<Contacts> getActivityByCond(Map<String, String> map);
}
